package com.example.demo.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.MsUser;
import com.example.demo.entity.params.UserRegisterParam;
import com.example.demo.entity.vo.UserInfoVo;

public interface IUserService extends IService<MsUser> {

    String createToken(String username, String password);

    MsUser selectByUsername(String username);

    int register(UserRegisterParam userRegisterParam);

    UserInfoVo selectById(Long userId);
}
